﻿using CreateCodeByDatabase.Bll;
using Microsoft.VisualBasic.ApplicationServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CreateCodeByDatabase
{
    class Program : WindowsFormsApplicationBase
    {
        public Program()
        {
            IsSingleInstance = true;
        }
        protected override void OnCreateMainForm()
        {
            MainForm = new Form1();
        }
        [STAThread]
        static void Main(string[] args)
        {
            IOperate.ConnectionType = Model.enumConnectionType.SqlServer;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            new Program().Run(args);
        }
    }
}
